from flask_restful import Resource
from controllers.robot.wraps import hmac_verify
from flask_babel import _
from controllers.robot import api
from services.robot.server_init_service import RobotServerInitService
class ServerInitApi(Resource):
    @hmac_verify
    def get(self,):
        return RobotServerInitService.init_server(),200
    
api.add_resource(ServerInitApi, '/server/init')